home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc A) / Acorn User China CD-ROM (UK) (Disc A).bin / DEMON / RISCOS2 / ARCKA9Q1.ARC / h / TRACE < prev    next >
Encoding:
Text File  |  1992-03-05  |  559 b   |  22 lines

  1. /* Definitions for packet dumping */
  2.  
  3. /* List of tracing functions for each interface. Entries are placed in
  4.  * this table by the driver at attach time
  5.  */
  6. extern void (*tracef[])();
  7.  
  8. #define TRACE_AX25      0
  9. #define TRACE_ETHER     1
  10. #define TRACE_IP        2
  11. #define TRACE_APPLETALK 3
  12. #define NTRACE          4
  13.  
  14. #define TRACE_SENT      0
  15. #define TRACE_RECV      1
  16. #define TRACE_LOOP      2
  17.  
  18. void dump(struct interface *, int, unsigned int, struct mbuf *);
  19. void hex_dump(struct mbuf **);
  20. void ascii_dump(struct mbuf **);
  21. void fmtline(int16, char *, int16);
  22.